package com.kgis.fm.business.mapadapter.service;

import com.kgis.fm.business.model.GeometryEntity;




public interface MapAdapterManagementService  {

//    void appendSpatial(GeometryEntity entity);
//
//    void appendSpatial(List<GeometryEntity> entitys);
	/**
	 * create、update都可以调用此方法
	 * @param entity GeometryEntity
	 */
    void saveSpatial(GeometryEntity entity);

    void createSpatial(GeometryEntity entity);

    void updateSpatial(GeometryEntity entity);

    void removeSpatial(GeometryEntity entity);

    /**
     * update gis table'label,when update coretable.
     */
    void updateLabel(GeometryEntity entity);

    /**
     * only delete graphic and reserve the info
     */
    void removeSpatialOnly(GeometryEntity entity);
}
